package com.zhangxu.junior.service;

import com.zhangxu.junior.domain.Student;
import com.zhangxu.junior.domain.StudentCourse;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author zhang xu
 * @Date 2022/6/20 15:48
 * @PackageName:com.zhangxu.junior.service
 * @ClassName: IStudentService
 * @Description: TODO
 * @Version 1.0
 */
@Service
public interface IStudentService {

    /**
     * 查询学生信息
     * @param student
     * @return
     */
    public List<Student> selectStudentList(Student student);

    /**
     * 删除学生信息
     * @param ids
     * @return
     */
    public boolean deleteStudentByIds(Long[] ids);

    /**
     * 新增学生信息
     * @param student
     * @return
     */
    public boolean insertStudent(Student student);

    public boolean updateStudent(Student student);

    /**
     * 根据学生信息查询学生关联的课程
     * @param student
     * @return
     */
    public Student selectStudentDetail(Student student);
}
